import service from '../service'
/**
 * 提现列表
 */
export const getCashList = params => {
  return service({
    url: '/admin/cash/list',
    method: 'get',
    params: params
  })
}

/**
 * 提现审核通过
 * @param {*} params
 */
export const cashPass = params => {
  return service({
    url: '/admin/cash/pass',
    method: 'post',
    data: params
  })
}

/**
 * 提现审核拒绝
 * @param {*} params
 */
export const cashReject = params => {
  return service({
    url: '/admin/cash/reject',
    method: 'post',
    data: params
  })
}

/**
 * 用户收益列表
 */
export const userIncomeList = params => {
  return service({
    url: '/admin/user/income/list',
    method: 'get',
    params: params
  })
}
